package com.pioneer.web.manager.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pioneer.web.client.domain.CliCar;
import com.pioneer.web.client.mapper.CliCarMapper;
import com.pioneer.web.client.service.ICliCarService;
import com.pioneer.web.manager.domain.ManGoods;
import com.pioneer.web.manager.service.IManGoodsService;
import com.pioneer.web.manager.mapper.ManGoodsMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 26271
* @description 针对表【man_goods】的数据库操作Service实现
* @createDate 2025-05-19 16:42:58
*/
@Service
public class ManGoodsServiceImpl extends ServiceImpl<ManGoodsMapper, ManGoods> implements IManGoodsService {

    @Resource
    private ICliCarService cliCarService;

    @Override
    public List<ManGoods> cliList(ManGoods goods) {
        return getBaseMapper().cliList(goods);
    }

    @Override
    public String addCar(CliCar car) {
        System.out.println("111111111111111111111111111111111");
        cliCarService.getBaseMapper().insert(car);
        return null;
    }
}




